﻿using System;
using System.Collections.Generic;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using BusinessLogic;
using System.Configuration;
using System.Data;

namespace SI.UserControls
{
    public partial class Pagination : System.Web.UI.UserControl
    {
        public event EventHandler ChangePage;


        public int PageId {
            get { return Convert.ToInt32(hdfPageId.Value); }
            set { hdfPageId.Value = value.ToString(); } 
        }
        public int RowPerPage
        {
            get { return Convert.ToInt32(hdfRowPerPage.Value); }
            set { hdfRowPerPage.Value = value.ToString(); }
        }
        public int TotalRow
        {
            get { return Convert.ToInt32(hdfTotalRow.Value); }
            set { hdfTotalRow.Value = value.ToString(); }
        }
        public string Role
        {
            get { return hdfRole.Value; }
            set { hdfRole.Value = value; }
        }
        public string Barcode
        {
            get { return hdfBarcode.Value; }
            set { hdfBarcode.Value = value; }
        }
        public string Keyword
        {
            get { return hdfKeyword.Value; }
            set { hdfKeyword.Value = value; }
        }
        public string StartDateString
        {
            get { return hdfStartDateString.Value; }
            set { hdfStartDateString.Value = value; }
        }
        public string EndDateString
        {
            get { return hdfEndDateString.Value; }
            set { hdfEndDateString.Value = value; }
        }
        public string StatusSerie
        {
            get { return hdfStatusSerie.Value; }
            set { hdfStatusSerie.Value = value; }
        }
        public string DealerCode
        {
            get { return hdfDealerCode.Value; }
            set { hdfDealerCode.Value = value; }
        }

        private DataTable dt;

        protected void Page_Load(object sender, EventArgs e)
        {

        }

        
    }
}